/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

/**
 *
 * @author lethong
 */
public class baivietPOJO {
    
    private int ID;
    private String tenbaiviet;
    private String noidung;
    private int loaibaiviet;

    public baivietPOJO() {
        this.ID=0;
        this.tenbaiviet = "";
        this.noidung = "";
        this.loaibaiviet = 0;
    }
    
    public baivietPOJO(int ID, String tenbaiviet, String noidung, int loaibaiviet) {
        this.ID=ID;
        this.tenbaiviet = tenbaiviet;
        this.noidung = noidung;
        this.loaibaiviet = loaibaiviet;
    }
    
    public baivietPOJO(baivietPOJO bv) {
        this.ID=bv.ID;
        this.tenbaiviet = bv.tenbaiviet;
        this.noidung = bv.noidung;
        this.loaibaiviet = bv.loaibaiviet;
    }

    /**
     * @return the tenbaiviet
     */
    public String getTenbaiviet() {
        return tenbaiviet;
    }

    /**
     * @param tenbaiviet the tenbaiviet to set
     */
    public void setTenbaiviet(String tenbaiviet) {
        this.tenbaiviet = tenbaiviet;
    }

    /**
     * @return the noidung
     */
    public String getNoidung() {
        return noidung;
    }

    /**
     * @param noidung the noidung to set
     */
    public void setNoidung(String noidung) {
        this.noidung = noidung;
    }

    /**
     * @return the loaibaiviet
     */
    public int getLoaibaiviet() {
        return loaibaiviet;
    }

    /**
     * @param loaibaiviet the loaibaiviet to set
     */
    public void setLoaibaiviet(int loaibaiviet) {
        this.loaibaiviet = loaibaiviet;
    }

    /**
     * @return the ID
     */
    public int getID() {
        return ID;
    }

    /**
     * @param ID the ID to set
     */
    public void setID(int ID) {
        this.ID = ID;
    }
    
}
